﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl.Customer.Managers
{
	public class CommunicationManager
	{
		#region Singelton Pattern
		private CommunicationManager()
		{
		}

		private static CommunicationManager instance;
		private static object mutex = new object();
		/// <summary>
		/// The instance of the CommunicationManager.
		/// </summary>
		public static CommunicationManager Instance
		{
			get
			{
				if (instance == null)
				{
					lock (mutex)
					{
						if (instance == null)
						{
							instance = new CommunicationManager();
						}
					}
				}
				return instance;
			}
		}
		#endregion
	}
}
